package com.zyf.springcloud.test;


import com.zyf.springcloud.utils.JWTUtil;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.HashMap;

@SpringBootTest
public class testClass {


    @Test
    public void mains() {
        HashMap<String, String> map = new HashMap<>();
        map.put("aaa","aaa");
       // System.out.println(JWTUtil.setToken(map));
        System.out.println(JWTUtil.getTokenInfo("eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhYWEiOiJhYWEiLCJleHAiOjE2MjE3NzQwNzZ9.xYw3DY7PKzZN6lU2GQ0GnqKxUf-ShIPLLVSzgfEMzRw").getPayload());
    }
}
